package com.boliq.lol.ui.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.Toast;

import com.boliq.lol.R;
import com.boliq.lol.ui.MainActivity;

public class SettingActivity extends AppCompatActivity {
    ImageView backBtn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);
        backBtn=findViewById(R.id.img_nav_back_btn);

        backBtn.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {
                Toast.makeText(SettingActivity.this, "我被点击了", Toast.LENGTH_SHORT).show();
                finish();
            }
        });
    }
}